package com.xbongbong.pro.formexplain.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/6/11 15:51
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class FormExplainDeleteDTO extends BaseDTO {

    private static final long serialVersionUID = -8977927322677116203L;
    /**
     * id
     */
    @NotNull(message = "{dto.msg.formExplainDelete.formId.NotNull}")
    private Long formId;


    /**
     * 菜单
     */
    @NotNull(message = "{dto.msg.formExplainDelete.formId.NotNull}")
    private Long menuId;


    /**
     * 应用id
     */
    @NotNull(message = "{dto.msg.formExplainDelete.formId.NotNull}")
    private Long appId;

    /**
     * @see com.xbongbong.pro.enums.SaasMarkEnum
     */
    private Integer saasMark;

    /**
     * @see com.xbongbong.saas.enums.XbbRefTypeEnum
     */
    private Integer businessType;

    private Integer del;

    public FormExplainDeleteDTO() {
        del = 0;
    }
}
